package com.android.microweather;

import java.io.Serializable;

public class ForecastedDay implements Serializable {
	static final int	METRIC_UNITS = 0;
	static final int	US_UNITS = 0;
	
	static final String DOWNLOAD_DIR = new String("download");	// for e.g. images

	/**
	 * These data members are used solely for (de)serialization's sake + avoid version conflicts. 
	 */
	private static final long serialVersionUID = 10L;	// 10 is really 1.0 from major and minor version #s
	@SuppressWarnings("unused")
	private int 						majorVersion = 1;
	@SuppressWarnings("unused")
	private int 						minorVersion = 0;

	private int					unit;
	private String 				title;
	private String 				shortPrediction;
	private String 				prediction;
	private String 				temperatureLow;
	private String 				temperatureHigh;
	private String 				imageURL;	// TODO Is it worth storing the whole URL? We download the relevant
											// resource right away and use only the filename afterwards. TBD
	
	int getUnit() {
		return unit;
	}
	void setUnit(int unit) {
		this.unit = unit;
	}
	String getTitle() {
		return title;
	}
	void setTitle(String title) {
		this.title = title;
	}
	String getShortPrediction() {
		return shortPrediction;
	}
	void setShortPrediction(String shortPrediction) {
		this.shortPrediction = shortPrediction;
	}
	String getPrediction() {
		return prediction;
	}
	void setPrediction(String prediction) {
		this.prediction = prediction;
	}
	String getTemperatureLow() {
		return temperatureLow;
	}
	void setTemperatureLow(String temperatureLow) {
		this.temperatureLow = temperatureLow;
	}
	String getTemperatureHigh() {
		return temperatureHigh;
	}
	void setTemperatureHigh(String temperatureHigh) {
		this.temperatureHigh = temperatureHigh;
	}
	String getImageURL() {
		return imageURL;
	}
	void setImageURL(String imageURL) {
		this.imageURL = imageURL;
	}
	int getImageResource() {
		return /*imageResource*/R.drawable.not_available;
	}
}
